﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace BYRBBS.Model
{
    [XmlRoot("item")]
    public class Board
    {
        [XmlElement("name")]
        //英文的板块名字,请求时使用该名字
        public string Name { get; set; }

        [XmlElement("manager")]
        //貌似是版主名字
        public string Manager { get; set; }

        [XmlElement("description")]
        //板块的中文名字
        public string Description { get; set; }

        [XmlElement("class")]
        //所属分类
        public string ByrClass { get; set; }

        [XmlElement("section")]
        //是分区的编号，比如考研专版为信息社会的子分区，信息社会分区的编码是3，那么这里就是3
        public string Section { get; set; }

        [XmlElement("post_today_count")]
        public string Post_today_count { get; set; }

        [XmlElement("post_threads_count")]
        public string Post_treads_count { get; set; }

        [XmlElement("user_online_count")]
        public string User_online_count { get; set; }

        [XmlElement("is_read_only")]
        public string Is_read_only { get; set; }

        [XmlElement("is_no_reply")]
        public string Is_no_reply { get; set; }

        [XmlElement("allow_attachment")]
        public string Allow_attachment { get; set; }

        [XmlElement("allow_anonymous")]
        public string Allow_anonymous { get; set; }

        [XmlElement("allow_outgo")]
        public string Allow_outgo { get; set; }

        [XmlElement("allow_post")]
        public string Allow_post { get; set; }

    }
}
